package com.lin.subject.domain.convert;

import com.lin.subject.domain.entity.SubjectLabelBO;
import com.lin.subject.infra.basic.entity.SubjectLabel;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

@Mapper
public interface SubjectLabelConvert {
    SubjectLabelConvert INSTANCE = Mappers.getMapper(SubjectLabelConvert.class);

    SubjectLabel convertBoToLabel(SubjectLabelBO subjectLabelBo);

    List<SubjectLabelBO> convertToListBo(List<SubjectLabel> subjectLabelList);
}
